package cn.edu.scau.cmi.ema.service;

import java.util.List;
import java.util.Set;
import java.io.IOException;
import com.alibaba.fastjson.JSONObject;
import java.util.Map;
import org.springframework.web.bind.annotation.RequestParam;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;


public interface StoremethodService {

	public Storemethod saveStoremethod(Storemethod storemethod);

	public Set<Storemethod> loadStoremethods();

	public Set<Storemethod> loadReferenceStoremethods(Set<Storemethod> storemethods);

	public Set<Storemethod> loadStoremethodsByIdSet(Set<Integer> storemethodsId);

	public Map<String, ?> loadStoremethodObjectReferencedSet(Storemethod storemethod);

	public Map<String, ?> loadStoremethodClassReferencedSet(Storemethod storemethod);

	public void deleteStoremethod(Storemethod storemethod);

	public void deleteStoremethods(Set<Integer> deleteStoremethodsId);

	public List<Storemethod> findAllStoremethods(Integer startResult, Integer maxRows);

	public Storemethod findStoremethodByPrimaryKey(Integer id);

	public Integer countStoremethods();

	public Integer countStoremethods(CmiPagination page);

	public Integer countStoremethodsByName(String queryName);

	public Integer countStoremethodsByDetachedCriteria(CmiPagination page);

}
